package cfca.seal.dao.main;

import cfca.seal.bean.Organization;
import cfca.seal.common.Page;
import java.util.List;

public abstract interface IOrganizationDao
{
  public abstract boolean insert(Organization paramOrganization)
    throws Exception;

  public abstract boolean update(Organization paramOrganization)
    throws Exception;

  public abstract boolean deleteById(String paramString)
    throws Exception;

  public abstract Organization getOrganizationById(String paramString)
    throws Exception;

  public abstract List<Organization> getAll()
    throws Exception;

  public abstract Organization getOrganizationByCode(String paramString)
    throws Exception;

  public abstract Page<Organization> getPage(String paramString)
    throws Exception;

  public abstract Organization getOrganizationByInfoForInsert(String paramString1, String paramString2, String paramString3, String paramString4)
    throws Exception;

  public abstract Organization getOrganizationByInfoForUpdate(String paramString1, String paramString2, String paramString3, String paramString4)
    throws Exception;

  public abstract List<Organization> getParentOrganizationList()
    throws Exception;

  public abstract int countAdminUserRecord(String paramString)
    throws Exception;

  public abstract int countUsersRecord(String paramString)
    throws Exception;

  public abstract int countSealImageRecord(String paramString)
    throws Exception;

  public abstract int countSealRecord(String paramString)
    throws Exception;

  public abstract int countSealCertRecord(String paramString)
    throws Exception;

  public abstract int countChildRecordByParenId(String paramString)
    throws Exception;
}